﻿using B.Rabbit.DataBase.ErrorCode;
using B.Rabbit.DataBase.Read.Api.DTOs;
using MediatR;

namespace B.Rabbit.DataBase.Read.Api.Applocation.Command.Login
{
    /// <summary>
    /// 请求类
    /// </summary>
    public class LoginCommand:IRequest<ApiResult<LoginDTOs>>
    {
        /// <summary>
        /// 账号
        /// </summary>
        public string AccountName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string AccountPaw { get; set; }
    }
}
